<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>用户界面 - yiwei</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <style>
        #content-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">易维--工单系统用户界面</div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">${userInfo.nickName}</a>
            </li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/Userlogout.handler">注销</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">工单管理</a>
                    <dl class="layui-nav-child">
                        <dd><a target="content-iframe" href="${pageContext.request.contextPath}/userPage/newOrder.handler">发起工单</a></dd>
                        <dd><a target="content-iframe" href="${pageContext.request.contextPath}/userPage/nowOrder.handler">未完成工单</a></dd>
                        <dd><a target="content-iframe" href="${pageContext.request.contextPath}/userPage/allOrder.handler">历史工单</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;width: 100%;height: 100%" >
            <iframe name="content-iframe" id="content-iframe" src="${pageContext.request.contextPath}/userPage/home2.handler"></iframe>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © yiwei.com - 易维--工单系统欢迎您！！！
    </div>
</div>
<script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
</body>
</html>
